import os


def split_shoes_info(filename="shoes.txt") -> list:
    shoes = []
    if os.path.exists(filename):
        with open("shoes.txt", "r") as shoes_f:
            s_cnt = shoes_f.readlines()
        for line in s_cnt:
            cnts = line.strip().split(" ")
            shoes.append({
                "brand": cnts[0],
                "color": "black",
                "size": cnts[-1]
            })
    return shoes


if __name__ == '__main__':
    print(split_shoes_info())
